<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="/admin/include/css/table.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="/admin/manage/module/moduleJs.js"></script>
	</head>
	<body>
		<form>
			<table id="listtable" cellspacing="0">
				<tr>
					<th class="spec" width="20%">
						模块名称
					</th>
					<td>
						<input type="hidden" name="moduleId" value="${module.moduleId}" />
						<input type="text" size="100" maxlength="25" name="moduleName"
							value="<c:out value="${module.moduleName}"/>" />
					</td>
				</tr>
				<tr>
					<th class="spec">
						模块类型
					</th>
					<td>
						<select name="moduleType" style="width: 635px" onchange="setModuleUrl()" disabled>
							<option value="1"
								<c:if test="${module.moduleType eq '1'}">selected</c:if>>
								功能模块
							</option>
							<option value="0"
								<c:if test="${module.moduleType eq '0'}">selected</c:if>>
								节点模块
							</option>
						</select>
					</td>
				</tr>
				<tr>
					<th class="specalt">
						引导页地址
					</th>
					<td>
						<input type="text" size="100" maxlength="50" name="moduleUrl"
							<c:if test="${module.moduleType eq '0'}">disabled</c:if>
							value="<c:out value="${module.moduleUrl}"/>" />
					</td>
				</tr>
				<tr>
					<th class="specalt">
						模块描述
					</th>
					<td>
						<textarea rows="3" cols="77" name="moduleDesc" style="width: 630px" onkeydown="return limitLong(this, 50)"><c:out value="${module.moduleDesc}" /></textarea>
					</td>
				</tr>
				<tr>
					<td class="button" colspan="2">
						<input type="button" value="保存" class="submit_button"
							onclick="modifyModule('${param.tag}')" />
						<input type="reset" value="重置" class="reset_button" />
						<input type="button" value="返回" class="back_button"
							onclick="history.go(-1)	" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>